package com.itheima.demo01;

import java.io.FileOutputStream;
import java.io.IOException;

public class Demo01 {

    public static void main(String[] args) throws IOException {

        FileOutputStream fileOutputStream = new FileOutputStream("day10\\c.txt");

        //fileOutputStream.write(66);

        for (int i = 0; i<5; i++){
            fileOutputStream.write(("hello"+i).getBytes());
            fileOutputStream.write("\r".getBytes());
        }


        fileOutputStream.close();
    }
}
